package win.larryzeal.spring.rmi.server.service;

import org.springframework.stereotype.Service;
import win.larryzeal.spring.rmi.common.service.HelloRMIService;

import java.util.logging.Logger;

/**
 * Created by 张少昆 on 2017/8/23.
 */
@Service
public class HelloRMIServiceImpl implements HelloRMIService {
    private Logger LOG = Logger.getLogger("HelloRMIService");

    public int add(int a, int b){
        LOG.info(".....开始");
        return a + b;
    }
}
